package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 试题管理视图对象
 *
 * @author youlaitech
 * @since 2025-07-17 09:22
 */
@Getter
@Setter
@Schema( description = "试题管理视图对象")
public class ExamQuestionVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;
//    @Schema(description = "创建时间")
//    private ${fieldConfig.fieldType} addtime;
    @Schema(description = "所属试卷ID")
    private Long paperId;
    @Schema(description = "试卷名称")
    private String paperName;
    @Schema(description = "试题类型")
    private String type;
    @Schema(description = "题目内容")
    private String content;
    @Schema(description = "选项(JSON格式存储)")
    private String options;
    @Schema(description = "题目答案")
    private String answer;
    @Schema(description = "答案解析")
    private String analysis;
    @Schema(description = "得分")
    private Integer score;
    @Schema(description = "难度等级(1-5)")
    private Integer level;
    @Schema(description = "题目顺序")
    private Integer sequence;
}
